package com.stox.ui.javafx.charting.strategy;

import javafx.scene.paint.Color;

import com.stox.ui.javafx.charting.model.uiunit.NumberUiUnit;

public class DefaultNumberUiUnitColorStrategy implements Strategy<NumberUiUnit> {
	
	public static final DefaultNumberUiUnitColorStrategy instance = 
			new DefaultNumberUiUnitColorStrategy();

	private static final Color color = Color.rgb(30, 30, 30);
	
	@Override
	public void apply(NumberUiUnit uiUnit) {
		uiUnit.setColor(color);		
	}

}
